<?php
class Test extends CI_Controller{
    //put your code here
    
    public function __construct(){
        parent::__construct();
        $this->load->model('Payment_m');
        $this->load->library('form_validation');
        $this->load->library('session');
        $this->load->library("my_layout"); // Sử dụng thư viện layout
        
    }
    // Controller mặc định cho trang chủ
    public function index(){
        $result=$this->Payment_m->get_count_submit(SOSC);
        //print_r($result);
        //echo $result[0][0];
       foreach ( $result[0] as $row) echo $row[0];
    }
   }